package com.epfresh.bean;

import java.util.ArrayList;

/**
 * Created by zhaozhenqiang on 2015/12/30.
 */
public class PayWay {
    String id;
    String code;
    String name;
    String serviceType;
    String serviceTypeStr;
    ArrayList<PayWay> children;
    String parentCode;
    public PayWay(){}

    public PayWay(String id, String code, String name, String serviceType, String serviceTypeStr, ArrayList<PayWay> children, String parentCode) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.serviceType = serviceType;
        this.serviceTypeStr = serviceTypeStr;
        this.children = children;
        this.parentCode = parentCode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceTypeStr() {
        return serviceTypeStr;
    }

    public void setServiceTypeStr(String serviceTypeStr) {
        this.serviceTypeStr = serviceTypeStr;
    }

    public ArrayList<PayWay> getChildren() {
        return children;
    }

    public void setChildren(ArrayList<PayWay> children) {
        this.children = children;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }
}
